package com.cos.hospital.model.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by yby on 2018/11/12
 */
public class ImageBean implements Parcelable {
    public static final Creator<ImageBean> CREATOR = new Creator<ImageBean>() {
        @Override
        public ImageBean createFromParcel(Parcel source) {
            return new ImageBean(source);
        }

        @Override
        public ImageBean[] newArray(int size) {
            return new ImageBean[size];
        }
    };
    private String fldImgPath;

    public ImageBean(String fldImgPath) {
        this.fldImgPath = fldImgPath;
    }

    protected ImageBean(Parcel in) {
        this.fldImgPath = in.readString();
    }

    public String getFldImgPath() {
        return fldImgPath;
    }

    public void setFldImgPath(String fldImgPath) {
        this.fldImgPath = fldImgPath;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.fldImgPath);
    }
}
